package com.seatademo.orders.controller;


import com.seatademo.orders.entity.OrderTbl;
import com.seatademo.orders.service.IOrderTblService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author wangjiacang
 * @since 2021-09-02
 */
@RestController
@RequestMapping("/orderTbl")
public class OrderTblController {

    @Autowired
    private IOrderTblService iOrderTblService;

    @RequestMapping("/get")
    public boolean selectOne(){
        //创建订单
        iOrderTblService.create();
        return true;
    }

}

